package com.aegean.MonitorExamSYS.conduction.business;

import java.io.File;
import java.io.InputStream;
import java.util.List;

import com.aegean.MonitorExamSYS.conduction.component.PositionsInfo;
import com.aegean.MonitorExaxSYS.model.BigType;
import com.aegean.MonitorExaxSYS.model.CenterValue;
import com.aegean.MonitorExaxSYS.model.ConductionValue;
import com.aegean.MonitorExaxSYS.model.ExamInfo;
import com.aegean.MonitorExaxSYS.model.ExamPosition;
import com.aegean.MonitorExaxSYS.model.MessageBox;
import com.aegean.MonitorExaxSYS.model.MonitorValue;
import com.aegean.MonitorExaxSYS.model.SmallType;

public interface ConductionBusiness {
	public ConductionValue insertConduction(ConductionValue one);
	public boolean insertExamPosition(ExamPosition one,ConductionValue conduction);
	public boolean editExamPosition(ExamPosition one,int examPosition_Id);
	public boolean deleteExamPositions(int[] examPosition_Id);
	public ConductionValue loginConduction(String login,String pwd);
	public int examPositionCount(int Conduction_Id);
	public int examPositionCountQuery(String query,int Conduction_Id);
	public List<ExamPosition> ShowExamPositions(int start,int limit,int Conduction_Id);
	public List<ExamPosition> ShowExamPositionsQuery(String query,int start,int limit,int Conduction_Id);
	public int monitorListCount(int Conduction_Id,int search_Id,int big_Id,int state,String query);
	public List<MonitorValue> ShowMonitorListQuery(int Conduction_Id,int search_Id,int big_Id,int state,String query,int start,int limit);
	public int bigListCount();
	public List<BigType> bigList(int start,int limit);
	public int smallListCount(int small_Id);
	public List<SmallType> SmallList(int start,int limit,int small_Id);
	public boolean addMonitorValue(MonitorValue monitor,int big_Id);
	public MonitorValue showMonitorPhoto(int monitor_Id);
	public boolean passedState(int state,int[] monitor_Ids);
	public boolean defuseState(int state,int[] monitor_Ids);
	public boolean applyForQualification(int state,int Conduction_Id,int exam_Id);
	public boolean writeMessage(int conduction_Id,String theme,String contents);
	public boolean replyMessage(int conduction_Id,String theme,String contents,int beforeId);
	public List<MessageBox> showMessages(int state,int status,int conduction_Id,int start,int limit);
	public List<PositionsInfo> showPositions(int big_Id,int condu);
}
